package nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb;

import com.google.gwt.core.client.JavaScriptObject;

public class CytoscapeWebNetworkModelNode extends JavaScriptObject {
	protected CytoscapeWebNetworkModelNode() {
	}

	public final native void setDataField(String name, String value) /*-{
		this[name] = value;
	}-*/;

	public final native void setDataField(String name, int value) /*-{
		this[name] = value;
	}-*/;

	public final native String getDataFieldAsString(String name) /*-{
		return this[name];
	}-*/;

	public final native int getDataFieldAsInteger(String name) /*-{
		return this[name];
	}-*/;

	public final native String getId() /*-{
		return this.id;
	}-*/;

	public final native String getLabel() /*-{
		return this.label;
	}-*/;
	
	public final native void setId(String id) /*-{
		this.id = id;
	}-*/;

	public final native void setLabel(String label) /*-{
		this.label = label;
	}-*/;
}
